package com.amgl.mobike.module.search;

import java.util.List;

/**
 * Created by 阿木 on 2017/5/27.
 */

public interface ISearchContract {
    interface ISearchView {
        void showImage(List<ImageData> imageDataList);

        void showImageMore(List<ImageData> imageDataList);

        void showError(String message);

        void showRefreshing(boolean isRefreshing);

        void showLoadingMore(boolean isLoading);
    }

    interface ISearchPresenter {
        void search(String query);

        void loadMore(String query);
    }
}
